package com.imagination.applet.infrastructure.utils;

import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.SneakyThrows;

public class ObjectMapperUtils {
    private static final ObjectMapper OBJECT_MAPPER = new ObjectMapper();

    @SneakyThrows
    public static String write(Object obj) {
        return OBJECT_MAPPER.writeValueAsString(obj);
    }
}
